/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package de.editura.oxygen.severin.imageviewer.features;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author kschmidtner
 */
public class ImagePathWriter {

    public static void createImgPathFile (File file) {
        try {
            BufferedWriter pw = new BufferedWriter(new FileWriter(file));
            pw.write(System.getProperty("user.home") );
            pw.flush();
            pw.close();
        } catch (IOException ex) {
            Logger.getLogger(ImagePathWriter.class.getName()).log(Level.SEVERE, null, ex);
        }


    }

}
